package com.woniuxy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 *
 * @TableName t_freight
 */
@TableName(value ="t_freight")
@Data
public class Freight implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 能送达的地址
     */
    private String address;

    /**
     * 快递公司
     */
    private Long shippingId;

    /**
     * 免运费的条件
     */
    private Integer conditions;

    /**
     * 运费模板id
     */
    private Long freightTemplateId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
